package com.dotstone.chipism.ui.security.me;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.dotstone.chipism.R;
import com.dotstone.chipism.activity.BaseActivity;
import com.dotstone.chipism.ui.security.ActivityGuideDeviceWifiConfig;

/**
 * 添加安防摄像头界面
 */
public class AddSecurityCameraActivity extends BaseActivity {

    private View backLayout;
    private Button btn_Fast_Configuration , btn_add_share , btn_add_LAN;


    @Override
    public void widgetClick(View v) {
        switch (v.getId()){
            case R.id.btn_back:
                finish();
                break;
            //快速配置
            case R.id.btn_Fast_Configuration:
                startActivity(ActivityGuideDeviceWifiConfig.class);
                break;
            //添加分享的设备
            case R.id.btn_add_share:
                break;
            //添加局域网设备
            case R.id.btn_add_LAN:
                startActivity(ActivityGuideDeviceListLan.class);
                break;
        }
    }

    @Override
    public void initParms(Bundle parms) {

    }

    @Override
    public View bindView() {
        return null;
    }

    @Override
    public int bindLayout() {
        return R.layout.activity_add_security_camera;
    }

    @Override
    public void initView(View view) {
        backLayout = $(R.id.btn_back);
        btn_Fast_Configuration = $(R.id.btn_Fast_Configuration);
        btn_add_share = $(R.id.btn_add_share);
        btn_add_LAN = $(R.id.btn_add_LAN);

    }

    @Override
    public void setListener() {
        backLayout.setOnClickListener(this);
        btn_Fast_Configuration.setOnClickListener(this);
        btn_add_share.setOnClickListener(this);
        btn_add_LAN.setOnClickListener(this);
    }

    @Override
    public void doBusiness(Context mContext) {

    }
}
